package ec.edu.udla.fichamedica.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

import ec.edu.udla.fichamedica.domain.Person;


public interface EntityServiceAsync {
  public void getPersons(String requestUri, AsyncCallback<List<Person>> async);
  public void createPerson(Person p, AsyncCallback<Boolean> async);
  public void deletePerson(Person p, AsyncCallback<Boolean> async);
  public void updatePerson(Person p, AsyncCallback<Boolean> async);
}
